﻿using System.Collections.Generic;
using Monkey.Warrenty.EntityModel;

namespace Monkey.Warrenty.Data.Interfaces
{
    public interface IServiceDao
    {
        List<Service> GetAllServices();
        Service AddService(Service service);
        void UpdateService(Service service);
        void DeleteService(int serviceId);
        int GetMaxId();
        int GetCurrentIdentity();
        Service GetById(int id);
        List<Service> GetServices(string name, int jtStartIndex, int jtPageSize, string jtSorting);
        int GetServiceCount(string name);

        InstantTicketServiceView GetServiceViewById(long ticketServiceId);
    }
}
